package com.sihan.framework.etm.mapper.baseData;

import com.sihan.framework.etm.vo.business.BaseToolInfo;
import com.sihan.framework.etm.vo.sendData.ToolBorrowSendDataVO;
import com.sihan.framework.etm.vo.sendData.ToolInspectInSendDataVO;
import com.sihan.framework.etm.vo.sendData.ToolInspectOutSendDataVO;
import com.sihan.framework.etm.vo.sendData.ToolReturnSendDataVO;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author gyz
 * @version 1.0
 * @since jdk1.8
 */
@Mapper
public interface CheckDateScheduleMapper {

	List<BaseToolInfo> getNeedCheckTools();

	List<String> getAllTypeId();

	int getRemindDate();

	int addInspectRemindMaster();

	int addInspectRemindDetail(BaseToolInfo baseToolInfo);

	String getLatestMasterId();
	
	int checkTodayHasInspectRemind();
	
	List<ToolBorrowSendDataVO> toolUseNeedSendData();
	List<ToolReturnSendDataVO> toolBackNeedSendData();
	List<ToolInspectOutSendDataVO> toolInspectOutNeedSendData();
	List<ToolInspectInSendDataVO> toolInspectInNeedSendData();
}
